Code Generation for CSM/ECSM Models in COSMA Environment
نویسندگان
چکیده
The COSMA software environment, developed in the Institute of Computer Science, WUT, was designed primarily for model checking of reactive systems specified in terms of Concurrent State Machines (CSM). However, COSMA supports also Extended CSM (ECSM). The extensions allow for using complex data types and pieces of C/C++ code, attributed to CSM states and/or transitions. Because of these extensions, ECSM models cannot be verified by model checking, but they can be used as an intermediate step in code generation. The underlying CSM represent then the flow of control within cooperating components and the communication among them while the extensions specify the data structures and the details of their processing. The paper discusses the code generation from ECSM diagrams. The approach is illustrated with an example.
منابع مشابه
Macrogeneration and Automata Libraries For COSMA design environment
In ICS, WUT a COSMA design environment is being developed. COSMA is based on Concurrent State Machines (CSM) formalism of system specification. It contains a graphical tool for system design, various tools for the analysis (including a temporal model checker), simulator and code generator. In many projects, some common susbsystems take place. This concerns both complicated modules and simple co...
متن کاملSystem level specification and verification using Concurrent State Machines and COSMA environment
Traffic Light Controller, a typical benchmark device, is specified and verified using of a formal model called Concurrent State Machines (CSM) and the software environment COSMA 2.0, which supports the system level specification and analysis of concurrent, asynchronous and communicating units. The TLC itself is a system of three concurrent components (the controller and two timers). The paper i...
متن کاملThe use of model checking and the COSMA environment in the design of reactive systems
The paper discusses how a bridge between the design practice and the formal methods could be maintained. The use of model checking seems to be the most promising approach. Then, the software environment COSMA is presented, implementated in the Institute of Computer Science,WUT. The conceptual framework of COSMA is based upon Concurrent State Machines (CSM) and Extended CSM, which are also brief...
متن کاملIn situ ruminal degradation characteristics of by-product feedstuffs for beef cattle consuming low-quality forage.
Eight ruminally cannulated steers (BW = 753 +/- 48 kg) were used to evaluate in situ N, NDF, and DM degradation characteristics of by-product feeds and their application for beef cows consuming low-quality forage. Experimental feedstuffs included (DM basis) 1) extruded-expelled cottonseed meal (ECSM; 33% CP and 55% NDF), 2) extruded-expelled cottonseed meal with linters (ECSML; 25% CP and 41% N...
متن کاملBehavioral an real-time verification of a pipeline in the COSMA environment
The case study analyzed in the paper illustrates the example of model checking in the COSMA environment. The system itself is a three-stage pipeline consisting of mutually concurrent modules which also compete for a shared resource. System components are specified in terms of Concurrent State Machines (CSM) The paper shows verification of behavioral properties, model reduction technique, analys...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Computer Science (AGH)
دوره 8 شماره
صفحات -
تاریخ انتشار 2007